package mysql

import "gorm.io/gorm"

type House struct {
	gorm.Model
	Title    string  `gorm:"type:varchar(30);not null;comment:房源标题"`
	Price    float64 `gorm:"type:float(50);not null;comment:房源价格"`
	Describe string  `gorm:"type:varchar(50);not null;comment:描述"`
	Address  string  `gorm:"type:varchar(100);not null;comment:房源位置"`
}
